//
//  APIError.h
//  HttpNetWork
//
//  Created by admin on 2019/4/22.
//  Copyright © 2019年 admin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HttpAPIConfig.h"

NS_ASSUME_NONNULL_BEGIN


@interface APIError : NSObject

@property(nonatomic,assign)APIErrorType errorType;

@property(nonatomic,copy)NSString* errorInfo;

+ (instancetype)errorWith:(APIErrorType)errorType info:(NSString*)info;

@end


NS_ASSUME_NONNULL_END

